package com.smart.seven.aop.advice.throwsadvice;

import java.sql.SQLException;

/**
 * 模拟异常service
 *
 * @author junrui.wang
 * @create 2018/10/10
 */
public class ForumService {
    public void removeForum(){
        throw new RuntimeException("运行异常");
    }

    public void updateForum() throws SQLException {
        throw new SQLException("数据库更新异常");
    }
}
